API Documentation
Public Attributes | List of all members
nkGraphics::SubresourceCpuDataDescriptor Struct Reference

Describes the memory layout of a subresource, within a resource. More...

Public Attributes

unsigned int _bufferByteOffset = 0
 the byte offset in the cpu data provided.
 
unsigned int _rowBytePitch = 0
 The size in byte of a row. Can be used when padding is necessary. Leave it to 0 to assume data is fully contiguous.
 
unsigned int _depthBytePitch = 0
 The size in byte of a depth slice. Can be used when padding is necessary. Leave it to 0 to assume data is fully contiguous.
 

Detailed Description

Describes the memory layout of a subresource, within a resource.

Used to describe how the data can be accessed.


The documentation for this struct was generated from the following file: